<?php
/**
 * Created by PhpStorm.
 * User: clcw908
 * Date: 2017/1/12
 * Time: 13:52
 */

namespace App\AuctionBack\Model;

use Think\Model\RelationModel;

/**
 *  员工与身份Model
 *
 * Class EpmIdentityModel
 * @package App\AuctionBack\Model
 */
class EmpIdentityRelationModel extends RelationModel {
	/**
	 * @var string
	 */
	protected $trueTableName = 'au_emp_identity_relation';

	/* 自动验证规则 */
	/**
	 * @var array
	 */
	protected $_validate = array(
	);

	// 字段映射
	/**
	 * @var array
	 */
	protected $fields = array(
		'emp_id',// '员工编号',
		'identity_id',// '角色编号',
		'_autoinc' => true
	);

}